package com.ruoyi.huoyun.person.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 货主个人信息对象 consignor_person_info
 *
 * @author mj
 * @date 2021-11-29
 */
public class ConsignorPersonInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一标识数据表 */
    private Integer id;

    /** 电话 */
    @Excel(name = "电话")
    private String telephone;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别（0男 1女 2未知） */
    @Excel(name = "性别", readConverterExp = "0=男,1=女,2=未知")
    private String sex;

    /** 年龄 */
    @Excel(name = "年龄")
    private Integer age;

    /** 开户银行 */
    @Excel(name = "开户银行")
    private String bankOfDeposit;

    /** 银行卡号 */
    @Excel(name = "银行卡号")
    private String bankCardNumber;

    /** 银行卡开户地 */
    @Excel(name = "银行卡开户地")
    private String openingBank;

    /** 电子邮箱 */
    @Excel(name = "电子邮箱")
    private String email;

    /** 微信号 */
    @Excel(name = "微信号")
    private String wechatNumber;

    /** 货源id */
    @Excel(name = "货源id")
    private Long supplyOfCarsId;

    /** 被评价次数 */
    @Excel(name = "被评价次数")
    private Integer beEvaluated;

    /** 评价总分 */
    @Excel(name = "评价总分")
    private Integer totalEvaluate;

    /** 货主发货次数 */
    @Excel(name = "货主发货次数")
    private Integer deliverGoods;

    /** 货主家庭住址 */
    @Excel(name = "货主家庭住址")
    private String homeAdd;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setTelephone(String telephone)
    {
        this.telephone = telephone;
    }

    public String getTelephone()
    {
        return telephone;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setSex(String sex)
    {
        this.sex = sex;
    }

    public String getSex()
    {
        return sex;
    }
    public void setAge(Integer age)
    {
        this.age = age;
    }

    public Integer getAge()
    {
        return age;
    }
    public void setBankOfDeposit(String bankOfDeposit)
    {
        this.bankOfDeposit = bankOfDeposit;
    }

    public String getBankOfDeposit()
    {
        return bankOfDeposit;
    }
    public void setBankCardNumber(String bankCardNumber)
    {
        this.bankCardNumber = bankCardNumber;
    }

    public String getBankCardNumber()
    {
        return bankCardNumber;
    }
    public void setOpeningBank(String openingBank)
    {
        this.openingBank = openingBank;
    }

    public String getOpeningBank()
    {
        return openingBank;
    }
    public void setEmail(String email)
    {
        this.email = email;
    }

    public String getEmail()
    {
        return email;
    }
    public void setWechatNumber(String wechatNumber)
    {
        this.wechatNumber = wechatNumber;
    }

    public String getWechatNumber()
    {
        return wechatNumber;
    }
    public void setSupplyOfCarsId(Long supplyOfCarsId)
    {
        this.supplyOfCarsId = supplyOfCarsId;
    }

    public Long getSupplyOfCarsId()
    {
        return supplyOfCarsId;
    }
    public void setBeEvaluated(Integer beEvaluated)
    {
        this.beEvaluated = beEvaluated;
    }

    public Integer getBeEvaluated()
    {
        return beEvaluated;
    }
    public void setTotalEvaluate(Integer totalEvaluate)
    {
        this.totalEvaluate = totalEvaluate;
    }
    public Integer getTotalEvaluate()
    {
        return totalEvaluate;
    }
    public void setDeliverGoods(Integer deliverGoods)
    {
        this.deliverGoods = deliverGoods;
    }

    public Integer getDeliverGoods()
    {
        return deliverGoods;
    }
    public void setHomeAdd(String homeAdd)
    {
        this.homeAdd = homeAdd;
    }

    public String getHomeAdd()
    {
        return homeAdd;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("telephone", getTelephone())
            .append("name", getName())
            .append("sex", getSex())
            .append("age", getAge())
            .append("bankOfDeposit", getBankOfDeposit())
            .append("bankCardNumber", getBankCardNumber())
            .append("openingBank", getOpeningBank())
            .append("email", getEmail())
            .append("wechatNumber", getWechatNumber())
            .append("supplyOfCarsId", getSupplyOfCarsId())
            .append("beEvaluated", getBeEvaluated())
            .append("totalEvaluate", getTotalEvaluate())
            .append("deliverGoods", getDeliverGoods())
            .append("homeAdd", getHomeAdd())
            .toString();
    }
}
